@echo off
color 0A

:menu
cls
echo.
echo. Compilation of Server
echo.
echo. 1 - Build Full
echo. 2 - Build Core
echo. 3 - Build Guard
echo. 4 - Build Scripts
echo. 5 - Exit
echo.

set Step1prompt=x
set /p Step1prompt= Your choise :
if /i %Step1prompt%==1 goto compile_full
if /i %Step1prompt%==2 goto compile_core
if /i %Step1prompt%==2 goto compile_guard
if /i %Step1prompt%==4 goto compile_scripts
if /i %Step1prompt%==5 goto fullend
goto Step1

:compile_full
@cls
title Compile
color 0A
echo.
echo Compilation process. Please wait...
ant -f build_full.xml -l build_full.log
echo Compilation successful!!!
pause

goto menu

:compile_core

@cls
title Compile
color 0A
echo.
echo Compilation process. Please wait...
ant -f build_core.xml -l build_core.log
echo Compilation successful!!!
pause

goto menu

:compile_guard

@cls
title Compile
color 0A
echo.
echo Compilation process. Please wait...
ant -f build_guard.xml.xml -l build_guard.xml.log
echo Compilation successful!!!
pause

goto menu

:compile_scripts

@cls
title Compile
color 0A
echo.
echo Compilation process. Please wait...
ant -f build_scripts.xml -l build_scripts.log
echo Compilation successful!!!
pause

goto menu

:fullend